package wojtek.klasy.replay;

public class Stol {
String material;
String stan ;

Blat blat;
Noga noga1;
Noga noga2;
Noga noga3;
Noga noga4;

Stol(String material, String ksztaltBlatu, String ksztaltNog)
{
	Blat blat = new Blat(material, ksztaltBlatu);
	Noga noga1 = new Noga(material, ksztaltNog);
	Noga noga2 = new Noga(material, ksztaltNog);
	Noga noga3 = new Noga(material, ksztaltNog);
	Noga noga4 = new Noga(material, ksztaltNog);
	this.stan = "nowe";
}
Stol(String material)
{
	Blat blat = new Blat(material);
	Noga noga1 = new Noga(material);
	Noga noga2 = new Noga(material);
	Noga noga3 = new Noga(material);
	Noga noga4 = new Noga(material);
	this.stan = "nowe";
}

}
